package com.can.common;

import com.can.entityDTO.TreeNode;

/**
 * @Description 对象转化成TreeNode
 * @Author can
 * @Date 2018/10/30
 * @Version 1.0
 */
public interface ITreeNodeAdapter<T> {

    /**
     * 转换成treeNode
     * @param entity
     * @return
     */
    public TreeNode<T> covert(T entity);
}
